package com.abocode.aichat.starter;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

/***
 * 自动获取配置文件中前缀为http的属性，把值传入对象参数
 */
@ConfigurationProperties(prefix = "http")
@Data
public class HttpProperties {
    private String url = "http://www.abocode.com/";
}
